text/template/parse.Tree.expect (method)
4 uses
text/template/parse (current package)
parse.go#L185: func (t *Tree) expect(expected itemType, context string) item {
parse.go#L348: t.expect(itemRightDelim, context)
parse.go#L616: return t.newEnd(t.expect(itemRightDelim, "end").pos)
parse.go#L632: token := t.expect(itemRightDelim, "else")
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)